﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014A5 RID: 5285
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UnlockTutorialGuideScRsp : IMessage<UnlockTutorialGuideScRsp>, IMessage, IEquatable<UnlockTutorialGuideScRsp>, IDeepCloneable<UnlockTutorialGuideScRsp>, IBufferMessage
	{
		// Token: 0x1700427E RID: 17022
		// (get) Token: 0x0600EC36 RID: 60470 RVA: 0x00276DB5 File Offset: 0x00274FB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UnlockTutorialGuideScRsp> Parser
		{
			get
			{
				return UnlockTutorialGuideScRsp._parser;
			}
		}

		// Token: 0x1700427F RID: 17023
		// (get) Token: 0x0600EC37 RID: 60471 RVA: 0x00276DBC File Offset: 0x00274FBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UnlockTutorialGuideScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17004280 RID: 17024
		// (get) Token: 0x0600EC38 RID: 60472 RVA: 0x00276DCE File Offset: 0x00274FCE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UnlockTutorialGuideScRsp.Descriptor;
			}
		}

		// Token: 0x0600EC39 RID: 60473 RVA: 0x00276DD5 File Offset: 0x00274FD5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockTutorialGuideScRsp()
		{
		}

		// Token: 0x0600EC3A RID: 60474 RVA: 0x00276DE0 File Offset: 0x00274FE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockTutorialGuideScRsp(UnlockTutorialGuideScRsp other) : this()
		{
			this.tutorialGuide_ = ((other.tutorialGuide_ != null) ? other.tutorialGuide_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600EC3B RID: 60475 RVA: 0x00276E2C File Offset: 0x0027502C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UnlockTutorialGuideScRsp Clone()
		{
			return new UnlockTutorialGuideScRsp(this);
		}

		// Token: 0x17004281 RID: 17025
		// (get) Token: 0x0600EC3C RID: 60476 RVA: 0x00276E34 File Offset: 0x00275034
		// (set) Token: 0x0600EC3D RID: 60477 RVA: 0x00276E3C File Offset: 0x0027503C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TutorialGuide TutorialGuide
		{
			get
			{
				return this.tutorialGuide_;
			}
			set
			{
				this.tutorialGuide_ = value;
			}
		}

		// Token: 0x17004282 RID: 17026
		// (get) Token: 0x0600EC3E RID: 60478 RVA: 0x00276E45 File Offset: 0x00275045
		// (set) Token: 0x0600EC3F RID: 60479 RVA: 0x00276E4D File Offset: 0x0027504D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600EC40 RID: 60480 RVA: 0x00276E56 File Offset: 0x00275056
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UnlockTutorialGuideScRsp);
		}

		// Token: 0x0600EC41 RID: 60481 RVA: 0x00276E64 File Offset: 0x00275064
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UnlockTutorialGuideScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.TutorialGuide, other.TutorialGuide) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600EC42 RID: 60482 RVA: 0x00276EB4 File Offset: 0x002750B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.tutorialGuide_ != null)
			{
				num ^= this.TutorialGuide.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600EC43 RID: 60483 RVA: 0x00276F09 File Offset: 0x00275109
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600EC44 RID: 60484 RVA: 0x00276F11 File Offset: 0x00275111
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600EC45 RID: 60485 RVA: 0x00276F1C File Offset: 0x0027511C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.tutorialGuide_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.TutorialGuide);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600EC46 RID: 60486 RVA: 0x00276F78 File Offset: 0x00275178
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.tutorialGuide_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TutorialGuide);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600EC47 RID: 60487 RVA: 0x00276FD0 File Offset: 0x002751D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UnlockTutorialGuideScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.tutorialGuide_ != null)
			{
				if (this.tutorialGuide_ == null)
				{
					this.TutorialGuide = new TutorialGuide();
				}
				this.TutorialGuide.MergeFrom(other.TutorialGuide);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600EC48 RID: 60488 RVA: 0x00277038 File Offset: 0x00275238
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600EC49 RID: 60489 RVA: 0x00277044 File Offset: 0x00275244
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.tutorialGuide_ == null)
					{
						this.TutorialGuide = new TutorialGuide();
					}
					input.ReadMessage(this.TutorialGuide);
				}
			}
		}

		// Token: 0x04005D70 RID: 23920
		private static readonly MessageParser<UnlockTutorialGuideScRsp> _parser = new MessageParser<UnlockTutorialGuideScRsp>(() => new UnlockTutorialGuideScRsp());

		// Token: 0x04005D71 RID: 23921
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005D72 RID: 23922
		public const int TutorialGuideFieldNumber = 2;

		// Token: 0x04005D73 RID: 23923
		private TutorialGuide tutorialGuide_;

		// Token: 0x04005D74 RID: 23924
		public const int RetcodeFieldNumber = 12;

		// Token: 0x04005D75 RID: 23925
		private uint retcode_;
	}
}
